package com.ardiudiu.studio;

import java.util.List;

import android.content.Intent;
import android.content.pm.ResolveInfo;
import android.os.Bundle;

public class App extends org.apache.cordova.DroidGap {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
//        setContentView(R.layout.main);
        super.loadUrl("file:///android_asset/www/index.html");
        
        Intent i = new Intent();
		i.setAction(Intent.ACTION_MAIN);
		i.addCategory(Intent.CATEGORY_LAUNCHER);
		List<ResolveInfo> lr = getContext().getPackageManager().queryIntentActivities(i, 0);
		for (int k = 0; k < lr.size(); ++k){
//			ActivityInfo ai = lr.get(k).activityInfo;
//			Log.i("ardiudiu studio", "info[k] >>> [" + ai.packageName + "], [" + ai.name + "], [" + ai.launchMode + "]");
		}
    }
}